#if !defined(AFX_PLAYMUSIC_H__88FEA404_994A_43C2_8A1B_7FC79312AD22__INCLUDED_)
#define AFX_PLAYMUSIC_H__88FEA404_994A_43C2_8A1B_7FC79312AD22__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// PlayMusic.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// PlayMusic window

class PlayMusic : public CEdit
{
// Construction
public:
	PlayMusic();

// Attributes
public:

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(PlayMusic)
	//}}AFX_VIRTUAL

// Implementation
public:
	void repeat_mp3();
	DWORD SetMusicPlayPosition(int m_dPosition);
	DWORD MusicPlayPosition();


	int hour,minute,second;
    DWORD cdlen;
	DWORD m_count;





    

	DWORD cdfrom,cdto;
	DWORD SetVolumn(DWORD vol);
	DWORD GetMusicLength();
	BOOL MCIStatus();
	virtual ~PlayMusic();
    void play_mp3(const char *dress);
    void pause_mp3();
    void reset_mp3();
	void PlayMp3();
	

	// Generated message map functions
protected:
	//{{AFX_MSG(PlayMusic)
		// NOTE - the ClassWizard will add and remove member functions here.
	//}}AFX_MSG

	DECLARE_MESSAGE_MAP()
private:
	
	

};
	
/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_PLAYMUSIC_H__88FEA404_994A_43C2_8A1B_7FC79312AD22__INCLUDED_)
